import request from '@/utils/request'

export function getList(params: any) {
  return request({
    url: '/boyi/finance/getList',
    method: 'get',
    params,
  })
}

export function changeStatus(data: any) {
  return request({
    url: '/boyi/finance/changeStatus',
    method: 'post',
    data,
  })
}

export function addCustomerFinanceRecord(params: any) {
  return request({
    url: '/boyi/finance/addCustomerFinanceRecord',
    method: 'get',
    params,
  })
}
